package com.dao;

import java.util.List;

import com.model.ProductType;

public interface ProductTypeDAO {
	// add productType
	public boolean addProductType(ProductType productType);

	// delete productType
	public boolean deleteProductType(int id);

	// update productType
	public boolean updateProductType(ProductType productType, int id);

	// select productType
	public List<?> selectProductType(String key, String type, int page,
			int rows, String sort, String order);

	public int getTotal();

	public int getLikeTotal(String key, String type);

	public List<?> selectProductType2();

}
